<template>
    <div>
      <el-statistic :value="deadline2" @finish="test"  format="HH:mm:ss" time-indices title="商品降价">
      </el-statistic>
    </div>
</template>

<script>
    export default {
        name: "Test",
        data(){
          return{
            deadline2: Date.now() + 10 * 60 * 10 * 1,
          }
        },
       methods:{
         test() {
            alert("时间到");
         },
       }
    }
</script>

<style scoped>

</style>
